package com.my.aslife.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.my.aslife.module.entity.Orders;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 订单表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2022-12-12
 */
@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {

    void updateOrderStatusIsFinish(@Param("orderId") Long orderId, @Param("date") Date date);

    List<Orders> selectOrderInfoByPageOrCondition(int start, int size);
}
